package com.example.task.repository;

import com.example.task.entity.HttpTask;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface HttpTaskRepository extends JpaRepository<HttpTask, Long> {
    List<HttpTask> findByActiveTrue();  // 自动转成 SQL: SELECT * FROM http_task WHERE active = 1
}
